﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WhatSNew.Master" AutoEventWireup="true" CodeBehind="submission.aspx.cs" Inherits="WhatSNew.submission" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../jquery.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(function () {
            jQuery("#manage li").mouseover(function () {
                jQuery("ul #manage li:gt(0)").show(100);
            });
            jQuery("#manage").mouseleave(function () {
                jQuery("ul #manage li:gt(0)").hide(100);
            });
            jQuery("#userinfo li").mouseover(function () {
                jQuery("ul #userinfo li:gt(0)").show(100);
            });
            jQuery("#userinfo").mouseleave(function () {
                jQuery("ul #userinfo li:gt(0)").hide(100);
            });
        }
        )
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderNav" runat="server">
    <div class="menu_header">
    <div class="menu_nav">
        <ul>
          <li><a >最新</a></li>
          <li><a >热门</a></li>
          <li><a href="submission.aspx">投稿</a></li>
          <li>
              <ul style ="clear:both; position:relative;z-index:1000;" id = "userinfo">
                  <li style ="clear:both; width: 100px;"><span class = "navlink">我的账号</span></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "../User/Personal.aspx" style ="font-size: 14px;padding:10px;">个人信息</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">新鲜事</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">评论</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">关注</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">私信</a></li>
              </ul>
          </li>
          <li >
              <ul style ="clear:both;position:relative;z-index:1000;" id = "manage" >
                  <li style ="clear:both; width: 100px;"><span class = "navlink">管理</span></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "NewsManage.aspx" style="font-size: 14px;padding:10px;">新鲜事管理</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style="font-size: 14px;padding:10px;">用户管理</a></li>
              </ul>
          </li>
        </ul>
          <div style ="float:right; text-align:right;">
              <div class ="item" style ="float:left;margin: 5px 5px">            
                      <asp:Button ID="BTN_Info1" runat="server" BorderStyle="None" Text="登陆" 
                          Height="30px" style ="margin: 9px 5px 5px; 
                           border-radius: 3px 3px" CssClass="btn-submit"/>
                      <asp:Button ID="BTN_Info2" runat="server" BorderStyle="None" Text="注册"
                          Height="30px" style ="margin: 9px 5px 5px;
                           border-radius: 3px 3px"  CssClass="btn-submit" />
              </div>
          </div>      
    </div>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="sub1" style="margin:10px 20px 10px 200px;">
      <div class="block">
        <div>
          <div>
            <asp:Label ID="Text_Label" runat="server" Font-Size ="12" Text="分享你的新鲜事:"></asp:Label>
          </div>
        <div>
            
            <asp:Label ID="Title_Label" runat="server" Text="标题："></asp:Label>
            
            <asp:TextBox ID="Text_Title" runat="server"></asp:TextBox>
            
        </div>
            <div>

                <asp:Label ID="Input_Label" runat="server" Text="正文："></asp:Label>

            </div>
          <div>
            <asp:TextBox ID="InputNews" runat="server" style="overflow:scroll" TextMode="MultiLine"   Height="78px" Width="363px"></asp:TextBox>
          </div>          
          <div style="height: 32px" >
            
              <asp:Label ID="Image_Label" runat="server" Text="真相：" Font-Size ="12"></asp:Label>
            
              <asp:FileUpload ID="FileUpload1"  runat="server" />
            
          </div>        
          <div>   
              <asp:CheckBox ID="CheckBox1" runat="server" />
              <asp:Label ID="Read_Text" runat="server" Text="我已阅读并同意"></asp:Label>
          </div>
        </div>
          
        <div>

            <asp:Button ID="Commit" runat="server" Font-Size="12" Text="提交" Height="27px" Width="64px" OnClick="Commit_Click" />

        </div>
        
          <br/><br/>
       <div>

           <asp:Label ID="ReadMe" runat="server" Font-Size ="12" Text="投稿须知："></asp:Label>

       </div>        
       <div>
        <ol>
        <li>新鲜事不能涉及政治、色情、歧视、隐私等内容。</li>
        <li>新鲜事须经管理员审核后方可发表。</li>
        <li>转载请注明出处。</li>
        <li>内容版权归WhatNews所有。</li>
        </ol>
        </div>
      <!--  --></div>
    <!-- <div class="shadow"></div> -->
  </div>
    <div class ="clr"></div>
</asp:Content>